home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
lib
/
dbase
/
setcallback.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-23
|
562b
|
20 lines
#include "dbase.p"
void setcallback(int uid, int dest)
{
log(log_on, "setcallback(%d (= %s), %d (= %s))",
uid, username(uid),
dest, get_dname(get_dnameindex(dest)));
make_activefile(uid, dest); /* make new active file */
log(log_max, "setcallback() calling make_configfile()");
make_configfile(); /* new mgetty config file */
log(log_max, "setcallback() calling writestate()");
writestate(get_ntries(), uid); /* initialize state-file */
log(log_max, "setcallback() completed");
}